package messages;

import java.security.PublicKey;

public class DHResponseMessage extends Message {

	private final PublicKey serverPubKey;
	private static final long serialVersionUID = -2436508286701563822L;

	public DHResponseMessage(String sender, long sessionID, PublicKey key) {
		super(sender, sessionID);
		this.serverPubKey = key;
	}
	
	public PublicKey getServerPublicKey() {
		return serverPubKey;
	}
}
